//
//  YBEarnDetailWithdrawalTimesViewController+LayoutConstraints.m
//  Nectar
//
//  Created by famer on 2023/11/11.
//  Copyright © 2023 asance. All rights reserved.
//

#import "YBEarnDetailWithdrawalTimesViewController+LayoutConstraints.h"

@implementation YBEarnDetailWithdrawalTimesViewController (LayoutConstraints)

- (void)setLayoutConstraints{
    CGFloat width = self.view.size.width;
    CGFloat height = self.view.size.height;
    CGFloat leftMargin = 12;
    
    self.navigationBar.frame = CGRectMake(0,  [UIView statusBarHeight], width, 64);
    
    self.contentView.frame = CGRectMake(0,
                                        self.navigationBar.bottom,
                                        width,
                                        self.view.height-self.navigationBar.bottom);
    
    self.myTableView.frame = CGRectMake(0,
                                        0,
                                        self.contentView.width,
                                        self.contentView.height);
}

@end
